/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 */
'use strict';

var React = require('react-native');
var FontAwesome = require('../common/font/fontawesome');
var Constants = require('../common/style/constants');

var {
  PixelRatio,
  Navigator,
  ScrollView,
  StyleSheet,
  Text,
  TouchableHighlight,
  TouchableOpacity,
  View,
  Component,
  AppRegistry,
  Platform,
  Dimensions
} = React;


class ResultPageUI extends Component{


  render() {
    return (
      <View style={{flex:1, marginTop:Constants.NAVBAR_HEIGHT, backgroundColor:'#f1f1f1'}}>
        <React.WebView
          style={{flex:1}}
          source={{uri: "http://192.168.1.104:8080/traces/pages/qrdemo/logistics.html"}}
          javaScriptEnabled={false}
          domStorageEnabled={false}
        />
      </View>
    );
  }

};

var ResultPage = {
  title: '结果',
  viewClass: ResultPageUI
};

var styles = React.StyleSheet.create({
 
});

module.exports = ResultPage;
